package com.hotel.entitys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
@ApiModel(value = "Checkin",description = "客户入住离开信息")
public class Checkin {
    @ApiModelProperty(value = "[主键自增")
    private Integer record_id;
    @ApiModelProperty(value = "客户id ")
    private Integer guest_id_1;
    @ApiModelProperty(value = "客户id")
    private  Integer guest_id_2;
    @ApiModelProperty(value = "客户id")
    private  Integer guest_id_3;
    @ApiModelProperty(value = "给客户办理入住的酒店人员id")
    private Integer staff_id_in;
    @ApiModelProperty(value = "给客户办理退房的酒店人员id")
    private  Integer staff_id_out;
    @ApiModelProperty(value = "客户住的房间id")
    private  Integer room_id;
    @ApiModelProperty(value = "客户住的房间号")
    private  String record_room_code;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date record_in_date;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date record_out_date;
    @ApiModelProperty(value = "1离开，2在住")
    private String status;
    @ApiModelProperty(value = "客户入住总消费")
    private  Double expense;
    @ApiModelProperty(value = "登记人信息")
    private Guest guest;
}
